<%--
  Created by IntelliJ IDEA.
  User: 群威
  Date: 2017/9/4
  Time: 20:25
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ include file="common/tag.jsp"%>
<html>
<head>
    <title>信息页</title>
    <%@ include file="common/head.jsp"%>
</head>
<body style="background: url('../images/detail/bodyBackground.jpg') no-repeat;background-size: cover;height: 100%">
<div class="container">
    <div id="top" class="row clearfix">
        <div class="col-md-12 column">
            <img width="100%" height="100" src="${pageContext.request.contextPath}/images/detail/top.jpg">
            <label>欢迎您：${employee.ename}</label>
            &nbsp;&nbsp;<a onclick="javascript:ManagerSystem.logoutPage.logout()" href="javascript:void(0)">注销</a>
        </div>
    </div>
    <div class="row clearfix">
        <div id="left" class="col-md-2 column">
            <ul id="ul" class="nav nav-stacked nav-pills">
                <%--<li>
                    <a href="javascript:ManagerSystem.detailPage.personalDetail()">个人信息</a>
                </li>
                <li>
                    <a href="javascript:ManagerSystem.detailPage.allDepartmentDetail(${employee.edepartment.did})">部门管理</a>
                </li>
                <li>
                    <a href="javascript:ManagerSystem.detailPage.employeeList({did:${employee.edepartment.did},rid:${employee.erole.rid}})">员工管理</a>
                </li>--%>
            </ul>
        </div>
        <div class="col-md-10 column">
            <div id="right" class="jumbotron">
                <img src="${pageContext.request.contextPath}/images/detail/rightLoad.jpg">
            </div>
        </div>
    </div>
</div>
</body>
    <%@ include file="common/bootstrap.jsp"%>
    <script src="<%=request.getContextPath()%>/resources/scripts/ManagerSystem.js" type="text/javascript"></script>
    <script type="text/javascript">
        $(function(){
            ManagerSystem.detailPage.init({
                eid : ${employee.eid},
                rid : ${employee.erole.rid},
                did : ${employee.edepartment.did},
                dname : '${employee.edepartment.dname}'
            });
            $('li').click(function(){
                $('li').attr("class" , "");
                $(this).attr("class" , "active");
            });
        });
    </script>
</html>
